package com.sky.filter;

import org.springframework.security.access.ConfigAttribute;
import org.springframework.security.web.util.matcher.RequestMatcher;

import java.util.List;
import java.util.Map;

public interface DynamicSecurityService {

    /**
     * 获取所有资源对应的角色
     */
    Map<RequestMatcher, List<ConfigAttribute>> loadDataSource();
}
